package string;

public class LengthDemo {
    public static void main(String[] args) {
        String a1="我爱 JAVA!";
        int num=a1.length();
        System.out.println(num);
    }
}
